package com.itmake.sample.ali.oss;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * oos 配置读取类
 *
 * @author Amjacks
 * @since 2023/08/10
 */
@Component
public class AliOssConfig {

    @Value("${config.aliyun.oss.accessKeyId}")
    public String accessKeyId;

    @Value("${config.aliyun.oss.accessKeySecret}")
    public String accessKeySecret;

    @Value("${config.aliyun.oss.endpoint}")
    public String endpoint;

    @Value("${config.aliyun.oss.bucket}")
    public String bucket;
}
